<?php /* Smarty version Smarty-3.0.8, created on 2012-11-02 07:03:12
         compiled from "F:\Zend Debug\workForYangtzeu\administrator/template\article.list.center.html" */ ?>
<?php /*%%SmartyHeaderCode:2599850937030975f25-05434142%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'fad6741f830be8983e494bdd0140dbcf4e5d861d' => 
    array (
      0 => 'F:\\Zend Debug\\workForYangtzeu\\administrator/template\\article.list.center.html',
      1 => 1351772442,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2599850937030975f25-05434142',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<style type="text/css">
<!--
.row-actions {
	padding: 2px 0 0;
	visibility: hidden;
}

tr:hover .row-actions {
	visibility: visible;
}
-->
</style>
<div class="content-box">
	<!-- Start Content Box -->
	<div class="content-box-header">
		<h3>所有文章</h3>
	</div>
	<!-- End .content-box-header -->
	<!-- Start .content-box-content -->
	<div class="content-box-content">
		<table class="article_list">
			<thead>
				<tr>
					<th><input type="checkbox"></th>
					<th>标题</th>
					<th>作者</th>
					<th>分类目录</th>
					<th>标签</th>
					<th>发布日期</th>
				</tr>
			</thead>
			<tfoot>
				<tr>
					<th><input type="checkbox"></th>
					<th>标题</th>
					<th>作者</th>
					<th>分类目录</th>
					<th>标签</th>
					<th>发布日期</th>
				</tr>
			</tfoot>
			<tbody>
				<?php  $_smarty_tpl->tpl_vars['articleArr'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('articleList')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['articleArr']->key => $_smarty_tpl->tpl_vars['articleArr']->value){
?>
				<tr>
					<td><input type="checkbox"></td>
					<td><?php echo $_smarty_tpl->tpl_vars['articleArr']->value['title'];?>

						<div class="row-actions">
							<span><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'article','a'=>'edit'),$_smarty_tpl);?>
&aid=<?php echo $_smarty_tpl->tpl_vars['articleArr']->value['article_id'];?>
">编辑</a></span> <span><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'article','a'=>'delete'),$_smarty_tpl);?>
&aid=<?php echo $_smarty_tpl->tpl_vars['articleArr']->value['article_id'];?>
" style="color: #c20;" class="delete">删除此文章</a></span> <span><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'article','a'=>'preview'),$_smarty_tpl);?>
&aid=<?php echo $_smarty_tpl->tpl_vars['articleArr']->value['article_id'];?>
">预览/查看</a></span>
						</div>
					</td>
					<td><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'employeeManager','a'=>'edit'),$_smarty_tpl);?>
&eid=<?php echo $_smarty_tpl->tpl_vars['articleArr']->value['employee']['employee_id'];?>
"><?php echo $_smarty_tpl->tpl_vars['articleArr']->value['employee']['realname'];?>
</a></td>
					<td><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'acategory','a'=>'edit'),$_smarty_tpl);?>
&cid=<?php echo $_smarty_tpl->tpl_vars['articleArr']->value['acategory']['acategory_id'];?>
"><?php echo $_smarty_tpl->tpl_vars['articleArr']->value['acategory']['acategory_name'];?>
</a></td>
					<td><?php  $_smarty_tpl->tpl_vars['tags'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['articleArr']->value['tags']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['tags']->key => $_smarty_tpl->tpl_vars['tags']->value){
?> <span><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'tagsManager','a'=>'edit'),$_smarty_tpl);?>
&tag_id=<?php echo $_smarty_tpl->tpl_vars['tags']->value['tags_id'];?>
"><?php echo $_smarty_tpl->tpl_vars['tags']->value['name'];?>
</a></span> <?php }} ?>
					</td>
					<td><?php echo $_smarty_tpl->tpl_vars['articleArr']->value['post_time'];?>
</td>
				</tr>
				<?php }} ?>
			</tbody>
		</table>
	</div>
	<!-- End .content-box-content -->
</div>
<!-- End .content-box -->